package com.ict.web.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ict.web.domain.ExpertInformationSheet;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class ExchangeExpertDto {

    /** 抽取表id */
    @ApiModelProperty(value = "抽取表id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @NotNull(message = "抽取表id不能为空")
    private Long extractExpertId;

    /** 评审任务Id */
    @ApiModelProperty(value = "评审任务Id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @NotNull(message = "评审任务Id不能为空")
    private Long reviewTaskId;

    /** 抽取类型{1:按条件抽取 2：随机抽取 3：指定专家} */
    @ApiModelProperty(value = "抽取类型{1:按条件抽取 2：随机抽取 3：指定专家}")
    private String extractType;

    /** 条件抽取专家-筛选条件*/
    @ApiModelProperty(value = "条件抽取专家-筛选条件")
    private ExpertInformationSheetDto expertInformationSheet;


}
